home *** CD-ROM | disk | FTP | other *** search
- Feedback.Mod
- Alf #223 @850
- 1Tue., 3December 210, 51991 711:46 pm 2[JST]
- Feedback Loop Mod
- by: Æ£ƒ
- (idea by: Skull Leader)
-
- Description: Ever have a user abort the newuser feedback? Well, what
- this does is loops them right back into the e-mail and gives them a little
- message, "You Must Leave Me Feedback". I saw something like this before,
- but it automatically deleted the user, I want to give them another chance
- in case they aborted it to start over (yeah right!), but this will loop
- them forever....
-
- = Exsisting code
- + Add
-
- For: 4.12 and 4.20 (tested on both!)
-
- Files affected: NEWUSER.C and FCNS.H
-
- Disclaimer: I did'nt eat it! Sure, I know it's bad
- to keep putting in voids but, what the hey, thats all i know...
- -----------------------------------------------------------------------------
- STEP 1
-
- Load up NEWUSER.C and at the very bottom......
-
- = if (incom) {
- = if (printfile("FEEDBACK.MSG"))
- = sl1(0,"#Aborted FEEDBACK.MSG");
- = sprintf(irt,"Validation Feedback (%d slots left)",syscfg.maxusers-status.users);
- = email(1,0,1,0);
- + if (thisuser.feedbacksent==0) {
- + feedmea();
- + }
- = }
- = if (syscfg.newuser_c[0]) {
- = stuff_in(s,syscfg.newuser_c,create_chain_file("CHAIN.TXT"),"","","","");
- = full_external(s,0,1);
- -----------------------------------------------------------------------------
- STEP 2
-
- Block read in the following two voids at the end of NEWUSER.C
-
- void feedmea()
- {
- sysoplog("* * * TRIED to abort Feedback message!!! * * *");
- nl();
- nl();
- prt(6," You Must Leave Me Feedback!");
- sprintf(irt,"Validation Feedback (%d slots left)",syscfg.maxusers-status.users);
- email(1,0,1,0);
- if (thisuser.feedbacksent==0) {
- feedmeb();
- }
- }
-
- void feedmeb()
- {
- sysoplog("* * * TRIED to abort Feedback message!!! * * *");
- nl();
- nl();
- prt(6," You Must Leave Me Feedback!");
- sprintf(irt,"Validation Feedback (%d slots left)",syscfg.maxusers-status.users);
- email(1,0,1,0);
- if (thisuser.feedbacksent==0) {
- feedmea();
- }
- }
- -----------------------------------------------------------------------------
- STEP 3
-
- Load up FCNS.H search for /* File: newuser.c */
-
- + void feedmea();
- + void feedmeb();
- -----------------------------------------------------------------------------
- STEP 4
-
- Be sure to remove the = and + they tend to create errors!!!
-
- Now, recompile the BBS, go take a shower and come back it will be done...
-
- Tip: If you are using the full screen editor that clears the screen, you may
- want to add a few pausescr(); so the user will be able to read the
- "You Must Leave Me Feedback!" line....
-
- You can add colors to the sysop log by putting hearts and a number
- 0-7.....
- Æ£ƒ